package sctu.edu.java.year2016.team01.lishuai.day20160523.chapter7_2;

/**
 * Created by 李大帅 on 2016/5/23.
 */

class Work_2
{
    private double width;
    private double height;

    public Work_2(double width,double height)
    {
        this.width = width;
        this.height = height;
    }

    public void show()
    {
        System.out.println("该矩形的面积为："+width*height);
    }
}
